#!/bin/sh

mkdir /dev/pts
mount -t devpts devpts /dev/pts
mount -t tmpfs -o size=180m none /tmp
mkdir -p /var/run /var/lock /var/log /var/lib/misc
touch /var/lib/misc/udhcpd.leases
mkdir -p /dev/.udev
udevd --daemon
udevadm trigger
echo /sbin/mdev > /proc/sys/kernel/hotplug
/sbin/mdev -s

